<!DOCTYPE html>
<!--[if IE 7 ]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8 oldie"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <meta name="description" content="">
    <meta name="author" content="">
	<meta property="wb:webmaster" content="3caf5a5b94e6991e" />
	
	<link rel="shortcut icon" href="/static/blog/coolblue/images/chine.ico"/>
	
	<title> 所有分类 - {{g.user.name}}的博客</title>
	
	<link type="text/css" rel="stylesheet" href="/static/blog/coolblue/css/bootstrap.min.css"><link>
	<link rel="stylesheet" type="text/css" media="screen" href="/static/blog/coolblue/css/coolblue.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="/static/blog/coolblue/css/chine.css" />
	
	<script>window.jQuery || document.write('<script src="/static/blog/coolblue/js/jquery-1.7.2.min.js"><\/script>')</script>
	<script src="/static/blog/coolblue/js/scrollToTop.js"></script>
	<script src="/static/blog/coolblue/js/inputFocusOrBlur.js"></script>
	<script src="/static/blog/coolblue/js/jquery.form.js"></script> 
	<script src="/static/blog/coolblue/js/bootstrap-transition.js"></script> 
	<script src="/static/blog/coolblue/js/bootstrap-tooltip.js"></script>
	<script src="/static/blog/coolblue/js/bootstrap-modal.js"></script> 
	<script src="/static/blog/coolblue/js/subscribe.js"></script> 
	
	<!--[if lt IE 9]>
	    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

	
	
</head>
<body id="top">
	
	<!--header -->
<div id="header-wrap"><header>
{% include 'blog/header.html' %}
<!--/header-->
</header></div>

	
<!-- content-wrap -->
<div id="content-wrap">
	
<!-- content -->
<div id="content" class="clearfix">
	    	
<!-- main -->
<div id="main">

<div class="indent">

    {% for category in categories %}
	<h2><a href="/blog/category/{{category.id}}">{{category.name}}</a></h2>
	<ul class="archive">
        {% for a in category.articles %}
		<li>
			<div class="post-title"><a href="/blog/article/{{a.id}}">{{a.title}}</a></div>
			<div class="post-details">发表于{{ a.created_time|timestr2 }}</div>
		</li>
        {% endfor %}
	</ul>
	
	<div class="navigation clear" style="margin:5px 0 35px 0;">
		<div><a href="/blog/category/{{category.id}}" style="font-weight: bold;">查看 &quot; {{category.name}} &quot; 下更多文章 &raquo; </a></div>
	</div>
    {% endfor %}

</div>

<!-- /main -->
</div>

<!-- sidebar -->
<div id="sidebar">
{% include 'blog/sidebar.html' %}
<!-- /sidebar -->
</div>
			
<!-- content -->
</div>
	
<!-- /content-out -->
</div>
	
	
<!-- extra -->
<div id="extra-wrap"><div id="extra" class="clearfix">
{% include 'blog/extra.html' %}
<!-- /extra -->
</div></div>

<!-- footer -->
<footer>
{% include 'blog/footer.html' %}
<!-- /footer -->
</footer>

</body>
